package com.woniu.liuzhougov.relatedinformation.dao;

import com.woniu.liuzhougov.relatedinformation.pojo.GoodEnterprise;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodEnterpriseMapper {
    int deleteByPrimaryKey(Integer enterpriceId);

    int insert(GoodEnterprise record);

    int insertSelective(GoodEnterprise record);

    GoodEnterprise selectByPrimaryKey(Integer enterpriceId);

    int updateByPrimaryKeySelective(GoodEnterprise record);

    int updateByPrimaryKey(GoodEnterprise record);

    List<GoodEnterprise> selectGoodEnterpriseList();

    List<GoodEnterprise> selectGoodEnterpriseByName(@Param("name") String name);
}